package com.ruoyi.project.shop.mapper;

import com.ruoyi.project.shop.domain.ShopOperator;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopOperatorMapper {

    List<ShopOperator> selectShopOperators(String shopId);

    ShopOperator selectShopOperator(@Param("shopId")String shopId, @Param("userId")String userId);

    int insertShopOperator(ShopOperator operator);

    int deleteShopOperator(String shopId);

    int deleteShopOperatorByUserId(@Param("shopId")String shopId, @Param("userId")String userId);
}
